void rename(const std::string_view ¤tName, const std::string_view &newName)
A texture used for rendering, hosted on GPU.
Definition: Texture.h:35
void setActiveRenderTarget(Texture *target)
Texture * getByIndex(unsigned int id)
Texture * getActiveRenderTarget() const
void erase(const std::string_view &name)
Texture * createOrRetrieve(const std::string_view &name)
Texture * getDepthTarget() const
Texture * get(const std::string_view &name)
Manages the textures available in the component.
Definition: TextureManager.h:14
void setActiveDepthTarget(Texture *target)